package com.ruoyi.web.admin.data.command;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 实时位置信息获取命令处理器
 *
 * @author 10100
 */
@Component
public class LocationCommandHandler implements CommandHandler {

    private static final Logger log = LoggerFactory.getLogger(LocationCommandHandler.class);

    @Override
    public String handle(String deviceId, String iccid, String recordId, String command,
                         String type, String timestamp, String length, String body) {
        log.info("设备[{}]实时位置信息获取命令下发：{}", deviceId, body);

        return null;
    }


    @Override
    public String getCommandType() {
        return "LOCATION_INFO_GET";
    }
}